/*
 * @Descripttion: $0
 * @version: 
 * @Author: linPing
 * @Date: 2019-10-29 01:26:12
 * @LastEditTime: 2019-10-31 17:52:42
 */
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React, {Fragment} from 'react';

import {observer, inject} from 'mobx-react';
import NavigationBar from '../common/NavigationBar';
import GlobalStyles from "../res/styles/GlobalStyles";
import ViewUtil from "../util/ViewUtil";
import {
  SafeAreaView,
  StyleSheet,
  ScrollView,
  Button,
  View,
  Text,
  StatusBar,
} from 'react-native';

@inject('appStore')
@observer
export default class HomePage extends React.Component{
  
  render(){
    const {navigation} = this.props
    let themeColor = this.props.appStore.theme
    let statusBar = {
      backgroundColor: themeColor,
      barStyle: 'light-content',
  };
    let navigationBar =
    <NavigationBar
        title={'统计'}
        statusBar={statusBar}
        style={{backgroundColor:themeColor}}
    />;
    return (
      
      <View style={GlobalStyles.root_container}>
        {navigationBar}
        <Text style={{flex:1,textAlign:'center',color:'#999',textAlignVertical:'center'}}>暂无数据</Text>
      </View>
    )
  }
 
};

const styles = StyleSheet.create({

  container: {
    flex:1
  },
  
 
});

